/*
 * @Author: your name
 * @Date: 2020-05-09 15:26:17
 * @LastEditTime: 2020-05-09 15:31:09
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \5.9\hh\vue.config.js
 */
const data = require('./mock/data')
module.exports = {

    lintOnSave: false,
    devServer: {
        before(app) {
            app.get('/api/list', (req, res) => {
                res.json(data)
            })
        }
    }
}